<template>
    <!-- 透传至子组件根节点 -->
    <div>
        <Navbar class="navbar" id="navbar" style="background-color: yellow;" @click="cli"></Navbar>
    </div>
</template>

<script>
import Navbar from './Navbar.vue'
export default {
    components:{
        Navbar,
    },
    data(){
        return {
            
        }
    },
    methods:{
        cli(){
            console.log('cli')
        }
    }

}
</script>

<style>

</style>